package com.llmops.core.tracing;

import java.util.Map;
import java.time.Instant;

public class ExecutionLog {
    private final String nodeId;
    private final String phase;
    private final Map<String, Object> inputParams;
    private final Map<String, Object> outputParams;
    private final Instant timestamp;

    public ExecutionLog(String nodeId, String phase, 
                       Map<String, Object> inputParams, 
                       Map<String, Object> outputParams) {
        this.nodeId = nodeId;
        this.phase = phase;
        this.inputParams = inputParams;
        this.outputParams = outputParams;
        this.timestamp = Instant.now();
    }

    // Getters
    public String getNodeId() { return nodeId; }
    public String getPhase() { return phase; }
    public Map<String, Object> getInputParams() { return inputParams; }
    public Map<String, Object> getOutputParams() { return outputParams; }
    public Instant getTimestamp() { return timestamp; }
}